home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ IE Zone Names.xpl < prev    next >
Text File  |  2001-02-05  |  1KB  |  44 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="Internet\Internet Explorer\Zones"
  5. "NAME"="Zone Names"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.34"
  8. "TEXT 1"="Zone #1 Name"
  9. "TEXT 2"="Zone #2 Name"
  10. "TEXT 3"="Zone #3 Name"
  11. "TEXT 4"="Zone #4 Name"
  12. "TEXT 5"="Zone #5 Name"
  13. "DESCRIPTION 1"="IE 4.0 and above divide the internet into different Zones. You can change the names for these zones here."
  14. "DESCRIPTION 2"="To view these items, start Internet Explorer, select "Options" from the "View" menu and click on the "Security" tab."
  15. "DESCRIPTION 3"="You can create your own zone by editing entry #5."
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20.  
  21. sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\"
  22. sValue="\DisplayName"
  23.  
  24. Sub Plugin_Initialize 
  25.  if RegPathExists(sPath) then
  26.   for l=1 to 5 
  27.    s=RegReadValue(sPath & l & sValue)
  28.    Call SetUIElement(l,s)
  29.   next
  30.  else
  31.   Disable
  32.  end if
  33. End Sub
  34.  
  35. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  for l=1 to 5
  37.   s=GetUIElement(l)
  38.   Call RegWriteValue(sPath & l & sValue,s,1)
  39.  next
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.